home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1997 January / macpower199701.bin / AMUG / Programming_10 / WASTE 1.3a1.sit / WASTE 1.3a1 Distribution / Extras / Sample Object Handlers / WEObjectHandlers.h < prev   
Encoding:
C/C++ Source or Header  |  1996-08-23  |  742 b   |  30 lines  |  [TEXT/CWIE]

  1. /*
  2.     WASTE Demo Project:
  3.     Sample WASTE Object Handlers
  4.  
  5.     Copyright ゥ 1993-1996 Marco Piovanelli
  6.     All Rights Reserved
  7. */
  8.  
  9. #ifndef _WASTE_
  10. #include "WASTE.h"
  11. #endif
  12.  
  13.  
  14. // PICTURES
  15.  
  16. pascal OSErr HandleNewPicture(Point *defaultObjectSize, WEObjectReference objectRef);
  17. pascal OSErr HandleDisposePicture(WEObjectReference objectRef);
  18. pascal OSErr HandleDrawPicture(const Rect *destRect, WEObjectReference objectRef);
  19.  
  20. // SOUNDS
  21.  
  22. enum {
  23.     kSoundIconID    =    550
  24. };
  25.  
  26. pascal OSErr HandleNewSound(Point *defaultObjectSize, WEObjectReference objectRef);
  27. pascal OSErr HandleDrawSound(const Rect *destRect, WEObjectReference objectRef);
  28. pascal Boolean HandleClickSound(Point hitPt, EventModifiers modifiers,
  29.                     UInt32 clickTime, WEObjectReference objectRef);
  30.